<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<body>
    <h1>用户登录</h1>

    <h3 th:text="${msg}" style="color: red"></h3>

    <form method="post" action="login">
        帐号：<input type="text" name="username"/><br/>
        密码：<input type="text" name="password"/><br/>
        <input type="submit" value="登录"/>
    </form>
</body>
</html>